﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="R09.aspx.vb" Inherits="R09" %>

<%@ Register Assembly="ISNet.WebUI.WebTreeView" Namespace="ISNet.WebUI.WebTreeView" TagPrefix="ISWebTreeView" %>



<%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %>

<%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <style>
        .auto-style1 {
            width: 98px;
        }

        .auto-style2 {
            width: 25px;
        }
    </style>
    <script>
        function openpop() {
            var params = [
        'height=' + (screen.height - 20),
        'width=' + screen.width,
        'fullscreen=yes',
        'resizeable=yes'
            ].join(',');

            var popup = window.open('./Report/RP09.aspx?a=0', 'popup_window', params);
            popup.moveTo(0, 0);
        }

        function openpop1() {
            var params = [
        'height=' + (screen.height - 20),
        'width=' + screen.width,
        'fullscreen=yes',
        'resizeable=yes'
            ].join(',');

            var popup = window.open('./Report/RP09.aspx?a=1', 'popup_window', params);
            popup.moveTo(0, 0);
        }

        function openpop2() {
            var params = [
        'height=' + (screen.height - 20),
        'width=' + screen.width,
        'fullscreen=yes',
        'resizeable=yes'
            ].join(',');

            var popup = window.open('./Report/RP09.aspx?a=2', 'popup_window', params);
            popup.moveTo(0, 0);
        }

        function openpop3() {
            var params = [
        'height=' + (screen.height - 20),
        'width=' + screen.width,
        'fullscreen=yes',
        'resizeable=yes'
            ].join(',');

            var popup = window.open('./Report/RP09.aspx?a=3', 'popup_window', params);
            popup.moveTo(0, 0);
        }


        function onyear1changed() {
            var pyear = document.getElementById('<%=PlanYearsTxt1.ClientID%>');
            var combo = ISGetObject("VersionCombo1");
            combo.ClearAdditionalFilters();
            var sfil = "";
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "") {
                sfil = "0000";
            }
            else {
                sfil = pyear.value;
            }
            combo.SetAdditionalFilters("[PlanYear] = " + sfil);
        }

        function onyear2changed() {
            var pyear = document.getElementById('<%=PlanYearsTxt2.ClientID%>');
            var combo = ISGetObject("VersionCombo2");
            combo.ClearAdditionalFilters();
            var sfil = "";
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "") {
                sfil = "0000";
            }
            else {
                sfil = pyear.value;
            }
            combo.SetAdditionalFilters("[PlanYear] = " + sfil);
        }

        function onyear3changed() {
            var pyear = document.getElementById('<%=PlanYearsTxt3.ClientID%>');
            var combo = ISGetObject("VersionCombo3");
            combo.ClearAdditionalFilters();
            var sfil = "";
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "") {
                sfil = "0000";
            }
            else {
                sfil = pyear.value;
            }
            combo.SetAdditionalFilters("[PlanYear] = " + sfil);
        }

        function onyear4changed() {
            var pyear = document.getElementById('<%=PlanYearsTxt4.ClientID%>');
            var combo = ISGetObject("VersionCombo4");
            combo.ClearAdditionalFilters();
            var sfil = "";
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "") {
                sfil = "0000";
            }
            else {
                sfil = pyear.value;
            }
            combo.SetAdditionalFilters("[PlanYear] = " + sfil);
        }

        function onyear5changed() {
            var pyear = document.getElementById('<%=PlanYearsTxt5.ClientID%>');
            var combo = ISGetObject("VersionCombo5");
            combo.ClearAdditionalFilters();
            var sfil = "";
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "") {
                sfil = "0000";
            }
            else {
                sfil = pyear.value;
            }
            combo.SetAdditionalFilters("[PlanYear] = " + sfil);
        }

        var ac1 = 0;
        var ac2 = 0;
        var ac3 = 0;
        var ac4 = 0;
        var ac5 = 0;
        function VersionTxt1Show() {
            var pyear = document.getElementById('<%=PlanYearsTxt1.ClientID%>');
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "" & ac1 == 0) {
                ac1 += 1;
                if (ac1 > 1) {
                    ac1 = 0
                }
                alert("กรุณาระบุปีงบประมาณก่อนเลือก Version");

            }
        }
        function VersionTxt2Show() {
            var pyear = document.getElementById('<%=PlanYearsTxt2.ClientID%>');
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "" & ac2 == 0) {
                ac2 += 1;
                if (ac2 > 1) {
                    ac2 = 0
                }
                alert("กรุณาระบุปีงบประมาณก่อนเลือก Version");
            }
        }
        function VersionTxt3Show() {
            var pyear = document.getElementById('<%=PlanYearsTxt3.ClientID%>');
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "" & ac3 == 0) {
                ac3 += 1;
                if (ac3 > 1) {
                    ac3 = 0
                }
                alert("กรุณาระบุปีงบประมาณก่อนเลือก Version");
            }
        }
        function VersionTxt4Show() {
            var pyear = document.getElementById('<%=PlanYearsTxt4.ClientID%>');
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "" & ac4 == 0) {
                ac4 += 1;
                if (ac4 > 1) {
                    ac4 = 0
                }
                alert("กรุณาระบุปีงบประมาณก่อนเลือก Version");
            }
        }
        function VersionTxt5Show() {
            var pyear = document.getElementById('<%=PlanYearsTxt5.ClientID%>');
            if (pyear.value.toString().replace(/^\s+|\s+$/g, '') == "" & ac5 == 0) {
                ac5 += 1;
                if (ac5 > 1) {
                    ac5 = 0
                }
                alert("กรุณาระบุปีงบประมาณก่อนเลือก Version");
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <br />
    <br />
    <div align="center">
        <div style="width: 55%; border: solid; border-color: gray; border-width: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; text-align: right; padding: 5px 0px 5px 0px;">
            <div style="text-align: right; margin-top: 5px;">
                <div align="left" style="width: 400px; float: left">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </div>

                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </div>
        </div>

    </div>
    <div align="center">

        <div id="div1" runat="server" style="width: 55%; border: solid; border-color: gray; border-width: 1px; margin-right: 5px; margin-top: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; height: 140px;">

            <div style="padding-bottom: 5px; text-align: left;"><strong>&nbsp;FundCenter</strong></div>

            <div>
                <table>
                    <tr>
                        <td align="left">
                            <table>
                                <tr>
                                    <td>กลุ่มศูนย์เงินทุน&nbsp;&nbsp;</td>
                                    <td>
                                        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true">
                                            <asp:ListItem Value="1">กลุ่มปกติ</asp:ListItem>
                                            <asp:ListItem Value="2">2</asp:ListItem>
                                            <asp:ListItem Value="3">3</asp:ListItem>
                                            <asp:ListItem Value="4">4</asp:ListItem>
                                            <asp:ListItem Value="5">5</asp:ListItem>
                                            <asp:ListItem Value="6">6</asp:ListItem>
                                            <asp:ListItem Value="7">7</asp:ListItem>
                                            <asp:ListItem Value="8">8</asp:ListItem>
                                            <asp:ListItem Value="9">9</asp:ListItem>
                                            <asp:ListItem Value="10">10</asp:ListItem>
                                        </asp:DropDownList></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" class="auto-style1">
                            <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="30px" Width="500px" EnableTheming="True">
                                <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="ตั้งแต่ ถึง">
                                    <ContentTemplate>
                                        <table>
                                            <tr>
                                                <td>ตั้งแต่</td>
                                                <td>
                                                    <ISWebCombo:WebCombo ID="WebCombo1" Width="200px" runat="server" UseDefaultStyle="True" DataTextField="Description" DataValueField="FundCenterCode" Height="20px" AdditionalSearchFields="FundCenterCode" AllowWildCardSearch="true">
                                                        <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" ComboMode="MultipleColumns">
                                                        </LayoutSettings>
                                                        <Columns>
                                                            <ISWebCombo:WebComboColumn BaseFieldName="Description" Name="Description" HeaderText="ชื่อ FundCenter" Width="250px" />
                                                            <ISWebCombo:WebComboColumn BaseFieldName="FundCenterCode" Name="FundCenterCode" HeaderText="รหัส FundCenter" Width="80px" />
                                                        </Columns>
                                                    </ISWebCombo:WebCombo>
                                                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetDataByUser" TypeName="BasicDataTableAdapters.FCTR_Child2TableAdapter">
                                                        <SelectParameters>
                                                            <asp:SessionParameter Name="username" SessionField="users" Type="String" />
                                                        </SelectParameters>
                                                    </asp:ObjectDataSource>
                                                </td>
                                                <td>ถึง</td>
                                                <td>
                                                    <ISWebCombo:WebCombo ID="WebCombo2" Width="200px" runat="server" UseDefaultStyle="True" DataTextField="Description" DataValueField="FundCenterCode" Height="20px" AdditionalSearchFields="FundCenterCode" AllowWildCardSearch="true">
                                                        <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" ComboMode="MultipleColumns">
                                                        </LayoutSettings>
                                                        <Columns>
                                                            <ISWebCombo:WebComboColumn BaseFieldName="Description" Name="Description" HeaderText="ชื่อ FundCenter" Width="250px" />
                                                            <ISWebCombo:WebComboColumn BaseFieldName="FundCenterCode" Name="FundCenterCode" HeaderText="รหัส FundCenter" Width="80px" />
                                                        </Columns>
                                                    </ISWebCombo:WebCombo>
                                                    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetDataByUser" TypeName="BasicDataTableAdapters.FCTR_Child2TableAdapter">
                                                        <SelectParameters>
                                                            <asp:SessionParameter Name="username" SessionField="users" Type="String" />
                                                        </SelectParameters>
                                                    </asp:ObjectDataSource>
                                                </td>
                                            </tr>
                                        </table>

                                    </ContentTemplate>
                                </asp:TabPanel>
                                <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="เลือกเอง">
                                    <ContentTemplate>
                                        <div style="margin-left: 30px; color: gray; font-size: 11px;">
                                            <ISWebCombo:WebCombo ID="WebCombo3" runat="server" UseDefaultStyle="True" Width="320px" DataTextField="pathname" DataValueField="Fundcenter_FundcenterCode" AllowWildCardSearch="true" DropDownRows="100000">
                                    <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false">
                                    </LayoutSettings>                                    
                                </ISWebCombo:WebCombo>
                                            &nbsp;(รวมหน่วยงานใต้สังกัด)
                                        </div>
                                    </ContentTemplate>
                                </asp:TabPanel>
                            </asp:TabContainer></td>
                        <td></td>
                    </tr>
                </table>
            </div>
        </div>
        <br />
        <div id="div2" runat="server" style="width: 55%; border: solid; border-color: gray; border-width: 1px; margin-right: 5px; margin-top: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080;">
            &nbsp;
                <div style="text-align: left;"><strong>&nbsp;Commitment Item</strong></div>
            <div style="margin: 5px 5px 5px 5px;">
                <table>
                    <tr>
                        <td align="left">
                            <asp:TabContainer ID="TabContainer2" runat="server" ActiveTabIndex="0" Height="45px" Width="500px" EnableTheming="True">
                                <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="ตั้งแต่ ถึง">
                                    <ContentTemplate>
                                        <table>
                                            <tr>
                                                <td align="right">ตั้งแต่</td>
                                                <td>
                                                    <ISWebCombo:WebCombo ID="CmmtCodeS2" Width="200px" runat="server" UseDefaultStyle="True" DataTextField="Description" DataValueField="CmmtCode" Height="20px" AdditionalSearchFields="CmmtCode" OnInitializeDataSource="CmmtCodeS2_InitializeDataSource" AllowWildCardSearch="true">
                                                        <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" ComboMode="MultipleColumns">
                                                        </LayoutSettings>
                                                        <Columns>
                                                            <ISWebCombo:WebComboColumn BaseFieldName="Description" Name="Description" HeaderText="ชื่อ CommitmentItem" Width="250px" />
                                                            <ISWebCombo:WebComboColumn BaseFieldName="CmmtCode" Name="CmmtCode" HeaderText="รหัส CommitmentItem" Width="80px" />
                                                        </Columns>
                                                    </ISWebCombo:WebCombo>
                                                    <asp:DropDownList ID="CmmtCodeS" runat="server" DataTextField="CmmtText" DataValueField="CmmtCode" Width="250px" Visible="false">
                                                    </asp:DropDownList>                                                    
                                                </td>
                                                <td align="left" class="auto-style2">ถึง</td>
                                                <td align="left">
                                                    <ISWebCombo:WebCombo ID="CmmtCodeE2" Width="200px" runat="server" UseDefaultStyle="True" DataTextField="Description" DataValueField="CmmtCode" Height="20px" AdditionalSearchFields="CmmtCode" OnInitializeDataSource="CmmtCodeE2_InitializeDataSource" AllowWildCardSearch="true">
                                                        <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" ComboMode="MultipleColumns">
                                                        </LayoutSettings>
                                                        <Columns>
                                                            <ISWebCombo:WebComboColumn BaseFieldName="Description" Name="Description" HeaderText="ชื่อ CommitmentItem" Width="250px" />
                                                            <ISWebCombo:WebComboColumn BaseFieldName="CmmtCode" Name="CmmtCode" HeaderText="รหัส CommitmentItem" Width="80px" />
                                                        </Columns>
                                                    </ISWebCombo:WebCombo>
                                                    <asp:DropDownList ID="CmmtCodeE" runat="server" DataTextField="CmmtText" DataValueField="CmmtCode" Width="250px" Visible="false">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:TabPanel>
                                <asp:TabPanel ID="TabPanel4" runat="server" HeaderText="เลือกเอง">
                                    <ContentTemplate>
                                        <div style="margin-left: 30px; color: gray;">
                                            ประเภทกลุ่ม Commitment Item
                                        <asp:DropDownList ID="DropDownList2" runat="server">
                                            <asp:ListItem Selected="True">1</asp:ListItem>
                                            <asp:ListItem>2</asp:ListItem>
                                            <asp:ListItem>3</asp:ListItem>
                                            <asp:ListItem>4</asp:ListItem>
                                            <asp:ListItem>5</asp:ListItem>
                                            <asp:ListItem>6</asp:ListItem>
                                            <asp:ListItem>7</asp:ListItem>
                                            <asp:ListItem>8</asp:ListItem>
                                            <asp:ListItem>9</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                        </asp:DropDownList>
                                        </div>
                                        </ br>
                                        <div style="margin-left: 30px; margin-top: 5px; color: gray; font-size: 11px;">
                                            <ISWebCombo:WebCombo ID="WebCombo4" runat="server" UseDefaultStyle="True" Width="250px" DataMember="" Height="20px">
                                                <IntegrationSettings ControlId="WebTreeView4" ControlType="WebTreeView" Enabled="True" />
                                            </ISWebCombo:WebCombo>
                                            &nbsp;(รวม Commitment ย่อย)
                                        </div>
                                    </ContentTemplate>
                                </asp:TabPanel>
                            </asp:TabContainer>

                        </td>
                    </tr>
                </table>
            </div>
            <br />
        </div>
        <br />
        <div id="div3" runat="server" style="width: 55%; border: solid; border-color: gray; border-width: 1px; margin-right: 5px; margin-top: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080;">
            &nbsp;
                <div style="text-align: left;"><strong>&nbsp;ผลิตภัณฑ์</strong></div>
            <div style="margin: 5px 5px 5px 5px;">
                <table>
                    <tr>
                        <td align="right" style="width: 90px">ผลิตภัณฑ์ จาก</td>
                        <td>
                            <ISWebCombo:WebCombo ID="WebCb_productFrom" Width="250px" runat="server" UseDefaultStyle="True" DataTextField="ProductText" DataValueField="ProductCode" Height="20px" OnInitializeDataSource="WebCb_productFrom_InitializeDataSource" AdditionalSearchFields="ProductCode" AllowWildCardSearch="true">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" ComboMode="MultipleColumns">
                                </LayoutSettings>
                                <Columns>
                                    <ISWebCombo:WebComboColumn BaseFieldName="ProductText" Name="ProductText" HeaderText="ชื่อผลิตภัณฑ์" Width="250px" />
                                    <ISWebCombo:WebComboColumn BaseFieldName="ProductCode" Name="ProductCode" HeaderText="รหัสผลิตภัณฑ์" Width="80px" />
                                </Columns>
                            </ISWebCombo:WebCombo>
                        </td>
                        <td align="left">ถึง</td>
                        <td align="left">
                            <ISWebCombo:WebCombo ID="WebCb_productTo" Width="250px" runat="server" UseDefaultStyle="True" DataTextField="ProductText" DataValueField="ProductCode" Height="20px" OnInitializeDataSource="WebCb_productFrom_InitializeDataSource" AdditionalSearchFields="ProductCode" AllowWildCardSearch="true">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" ComboMode="MultipleColumns">
                                </LayoutSettings>
                                <Columns>
                                    <ISWebCombo:WebComboColumn BaseFieldName="ProductText" Name="ProductText" HeaderText="ชื่อผลิตภัณฑ์" Width="250px" />
                                    <ISWebCombo:WebComboColumn BaseFieldName="ProductCode" Name="ProductCode" HeaderText="รหัสผลิตภัณฑ์" Width="80px" />
                                </Columns>
                            </ISWebCombo:WebCombo>
                        </td>
                    </tr>

                </table>
            </div>
            <br />
        </div>


        <div id="div4" runat="server" style="width: 55%; border: solid; border-color: gray; border-width: 1px; margin-right: 5px; margin-top: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080;">
            <div style="text-align: left;"><strong>&nbsp;ปีงบประมาณ</strong></div>
            <div style="margin: 5px 5px 5px 5px;">
                <table style="width: 400px">
                    <tr>
                        <td style="text-align: right">ปี</td>
                        <td>
                            <asp:TextBox ID="PlanYearsTxt1" runat="server" Width="50px" Style="text-align: center;" onchange="javascript: onyear1changed();"></asp:TextBox>
                        </td>
                        <td style="width: 5px">&nbsp;</td>
                        <td style="text-align: right">ปี</td>
                        <td style="width: 5px">&nbsp;</td>
                        <td>
                            <asp:TextBox ID="PlanYearsTxt2" runat="server" Width="50px" Style="text-align: center;" onchange="javascript: onyear2changed();"></asp:TextBox>
                        </td>
                        <td style="width: 5px">&nbsp;</td>
                        <td style="text-align: right">ปี</td>
                        <td>
                            <asp:TextBox ID="PlanYearsTxt3" runat="server" Width="50px" Style="text-align: center;" onchange="javascript: onyear3changed();"></asp:TextBox>
                        </td>
                        <td style="width: 5px">&nbsp;</td>
                        <td style="text-align: right">ปี</td>
                        <td>
                            <asp:TextBox ID="PlanYearsTxt4" runat="server" Width="50px" Style="text-align: center;" onchange="javascript: onyear4changed();"></asp:TextBox>
                        </td>
                        <td style="width: 5px">&nbsp;</td>
                        <td style="text-align: right">ปี</td>
                        <td>
                            <asp:TextBox ID="PlanYearsTxt5" runat="server" Width="50px" Style="text-align: center;" onchange="javascript: onyear5changed();"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>Version</td>
                        <td>
                            <asp:TextBox ID="VersionTxt1" runat="server" Width="50px" Style="text-align: center" Visible="false"></asp:TextBox>
                            <ISWebCombo:WebCombo ID="VersionCombo1" runat="server" UseDefaultStyle="true" DataTextField="Version" DataValueField="Version" Width="50px">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" EntryMode="AutoComplete">
                                    <ClientSideEvents OnShowDropDown="VersionTxt1Show" />
                                </LayoutSettings>
                            </ISWebCombo:WebCombo>
                        </td>
                        <td>&nbsp;</td>
                        <td>Version</td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="VersionTxt2" runat="server" Width="50px" Style="text-align: center" Visible="false"></asp:TextBox>
                            <ISWebCombo:WebCombo ID="VersionCombo2" runat="server" UseDefaultStyle="true" DataTextField="Version" DataValueField="Version" Width="50px">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" EntryMode="AutoComplete">
                                    <ClientSideEvents OnShowDropDown="VersionTxt2Show" />
                                </LayoutSettings>
                            </ISWebCombo:WebCombo>
                        </td>
                        <td>&nbsp;</td>
                        <td>Version</td>
                        <td>
                            <asp:TextBox ID="VersionTxt3" runat="server" Width="50px" Style="text-align: center" Visible="false"></asp:TextBox>
                            <ISWebCombo:WebCombo ID="VersionCombo3" runat="server" UseDefaultStyle="true" DataTextField="Version" DataValueField="Version" Width="50px">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" EntryMode="AutoComplete">
                                    <ClientSideEvents OnShowDropDown="VersionTxt3Show" />
                                </LayoutSettings>
                            </ISWebCombo:WebCombo>
                        </td>
                        <td>&nbsp;</td>
                        <td>Version</td>
                        <td>
                            <asp:TextBox ID="VersionTxt4" runat="server" Width="50px" Style="text-align: center" Visible="false"></asp:TextBox>
                            <ISWebCombo:WebCombo ID="VersionCombo4" runat="server" UseDefaultStyle="true" DataTextField="Version" DataValueField="Version" Width="50px">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" EntryMode="AutoComplete">
                                    <ClientSideEvents OnShowDropDown="VersionTxt4Show" />
                                </LayoutSettings>
                            </ISWebCombo:WebCombo>
                        </td>
                        <td>&nbsp;</td>
                        <td>Version</td>
                        <td>
                            <asp:TextBox ID="VersionTxt5" runat="server" Width="50px" Style="text-align: center" Visible="false"></asp:TextBox>
                            <ISWebCombo:WebCombo ID="VersionCombo5" runat="server" UseDefaultStyle="true" DataTextField="Version" DataValueField="Version" Width="50px">
                                <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" EntryMode="AutoComplete">
                                    <ClientSideEvents OnShowDropDown="VersionTxt5Show" />
                                </LayoutSettings>
                            </ISWebCombo:WebCombo>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="15" style="text-align: center">
                            <%--  <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal" ValidationGroup="1" Width="450px">
                                <asp:ListItem Value="1" Text="แสดงผลต่าง"></asp:ListItem>
                                <asp:ListItem Value="2" Text="แสดงร้อยละเปรียบเทียบ"></asp:ListItem>
                            </asp:CheckBoxList>--%>
                            &nbsp;<br />
                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="450px">
                                <asp:ListItem Value="1" Text="แสดงผลต่าง"></asp:ListItem>
                                <asp:ListItem Value="2" Text="แสดงร้อยละเปรียบเทียบ"></asp:ListItem>
                                <asp:ListItem Value="3" Text="แสดงทั้งหมด"></asp:ListItem>
                                <asp:ListItem Value="0" Text="ไม่ระบุ" Selected="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </div>
            <br />
        </div>


    </div>
    <br />
    <br />
    <div align="center">
        <div style="width: 55%; border: solid; border-color: gray; border-width: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; text-align: right; padding: 5px 0px 5px 0px;">
            <div style="text-align: right; margin-top: 5px;">


                <asp:ImageButton ID="toReport" runat="server" ImageUrl="~/Icons/viewreport.png" />

                &nbsp;
                
            </div>
        </div>

    </div>
    <div style="display: none;">
        <ISWebTreeView:WebTreeView ID="WebTreeView3" runat="server" Height="265px" Width="235px" Visible="false">
            <NodeSettings EnableAnimation="True" />
        </ISWebTreeView:WebTreeView>
    </div>
    <div style="display: none;">
        <ISWebTreeView:WebTreeView ID="WebTreeView4" runat="server" Height="265px" Width="235px">
            <NodeSettings EnableAnimation="True" />
        </ISWebTreeView:WebTreeView>
    </div>
    <%=ScriptText%>
    <style>
        .WC4-DD-N {
            height: 0px;
        }

        .WC4-DD-A {
            height: 0px;
        }
    </style>
</asp:Content>

